package com.scraper;

import java.util.List;

/**
 * This class represents the data resulting from scraping course listing related webpages.
 * @inheritDoc
 * @author micah.perry
 *
 */
public class CourseListingWebData extends WebData {
	/**
	 * The URL for the current course listings.
	 */
	public String currentCourseListingsURL; 
	
	/**
	 * The collection of links to the currently available course listings.
	 */
	public List<Link> currentCourseListings; 
	
	/**
	 * The URL which links to the archived course listing webpage. 
	 * <p>
	 * This URL is scraped from the original course listing webpage.
	 */
	public String archivedCourseListingsURL;
	
	/**
	 * The collection of links to the archived course listings. 
	 * <p>
	 * These links are scraped from the archived course listing webpage, accessed from the archivedCourseListingsURL.
	 */
	public List<Link> archivedCourseListings;
	
	/**
	 * The collection of links to the available course listings per college. 
	 * <p>
	 * These links are scraped from the webpage of a particular course listing.
	 */
	public List<Link> collegeCourseListings; 
	
	/**
	 * The course listing information scrapped from a particular college course listing. 
	 * <p>
	 * This is the actual course listing information.  
	 */
	public String courseListingdata;
	
	/**
	 * The date range for a particular course listing. This information is scraped from the webpage of a particular course listing. 
	 */
	public String courseListingDates;
	
	/**
	 * The description of the particular course listing. 
	 * <p>
	 * This information is scraped from the webpage of a particular course listing.
	 */
	public String courseListingDescription;
	
	/**
	 * This constructor sets the type, CourseListingData, of WebData for this particular extension of WebData.
	 */
	public CourseListingWebData(){
		this.dataType = WebDataType.CourseListingData;
	}
}
